package com.example.combwx.mvp.di;

import com.example.combwx.mvp.contract.RegisterContract;
import com.example.combwx.mvp.model.RegisterModel;

import dagger.Module;
import dagger.Provides;

@Module
public class RegisterModels {

    private RegisterContract.IRegisterView iview;

    public RegisterModels(RegisterContract.IRegisterView iview) {
        this.iview = iview;
    }

    @Provides
    public RegisterContract.IRegisterView registerView(){
        return iview;
    }
    @Provides
    public RegisterContract.IRegisterModel registerModel(RegisterModel model){
        return model;
    }
}
